import zhLocale from "vant/es/locale/lang/zh-CN";

export const lang = {
  add: "添加",
  syncing: "同步中",
  syncFailed: "同步失败",
  connecting: "连接中",
  connectFailed: "连接失败",
  searching: "搜索中...",
  loading: "加载中",
  chats: "消息",
  contact: "通讯录",
  workbench: "工作台",
  profile: "我的",
  welcome: "欢迎使用OpenIM",
  emptySearchDesc: "搜索结果为空",
  offlinePushTitle: "你有一条新消息",
  offline: "离线",
  online: "在线",
  noMore: "没有更多了",
  groupAdmin: "管理员",
  groupOwner: "群主",
  groupIDDesc: "群聊ID",
  groupNickDesc: "群昵称",
  joinGroupTime: "加入时间",
  joinGroupMethod: "入群方式",
  setAdmin: "设为管理员",
  setMute: "设置静言",
  userInfo: "个人资料",
  inviteToGroup: "邀请进群",
  qrToGroup: "扫码进群",
  searchToGroup: "搜索进群",
  members: "成员",
  memberCounts: "群成员",
  seeMore: "更多",
  groupVerificationDesc: "群聊验证",
  groupPermissionsDesc: "群成员权限",
  transferGroupDesc: "转让群主",
  viewMemberPermissionsDesc: "不允许查看其他群成员资料",
  applyMemberPermissionsDesc: "不允许添加群成员为好友",
  setMuteTitle: "设置禁言",
  customs: "自定义",
  information: "文本",
  picture: "图片",
  video: "视频",
  documnet: "文件",
  contactCard: "名片",
  messageSelected: "消息已选",
  messageRecipientList: "消息接收人列表",
  allReaded: "全部已读",
  readed: "已读",
  unread: "未读",
  someUnread: "{count}人未读",
  createGroup: "创建群聊",
  createGroupDesc: "创建群聊，全面使用OpenIM",
  joinGroup: "加入群聊",
  joinGroupDesc: "向管理员或团队成员询问ID",
  createNow: "立即创建",
  applyJoin: "申请加入",
  you: "你",
  friendApply: "申请添加 {name} 为好友",
  friendApplyDesc: "验证信息: ",
  groupApplyDesc: "申请理由: ",
  chooseAvatar: "选择你的头像",
  forgetPasswordTitle: "忘记密码",
  forgetPassword: "忘记密码？",
  password: "密码",
  confirmPassword: "确认密码",
  reConfirmPassword: "请再次确认您的密码",
  and: "和",
  haveAccount: "已有账号？",
  notHaveAccount: "还没有账号？",
  nowRegister: "立即注册",
  cellphoneNumber: "手机号",
  passwordRequired: "6～20位，至少包含数字、字母",
  verifyPhoneNumber: "验证手机号",
  inputCodeDesc: "请输入发送到",
  validDesc: "的6位验证码，有效期10分钟",
  reAcquire: "重发",
  reAcquireDesc: "验证码",
  sec: "秒",
  noData: "暂无数据",
  qrCode: "二维码",
  scanQrCode: "扫描二维码",
  scanQrCodeDesc: "扫描二维码名片",
  groupQrCode: "群二维码",
  chatID: "用户ID",
  gender: "性别",
  name: "昵称",
  nickName: "用户昵称",
  remark: "备注",
  updateNickName: "修改昵称",
  age: "年龄",
  birthday: "生日",
  cellphone: "手机号",
  email: "邮箱",
  ageYear: "岁",
  private: "保密",
  female: "女",
  male: "男",
  on: "开启",
  off: "关闭",
  comprehensive: "综合",
  group: "群聊",
  chatRecord: "聊天记录",
  documentation: "文件",
  addFriend: "添加好友",
  addFriendDesc: "通过手ID搜索添加",
  addGroup: "添加群组",
  addGroupDesc: "搜索ID添加群组",
  metting: "视频会议",
  historyRecordCount: "{number} 条相关记录",
  people: "人",
  somePeople: "{count} 人",
  groupMember: "群成员",
  groupMemberCount: "群成员 {count} 人",
  friendVerification: "好友验证",
  verifiyMessage: "验证信息",
  sendMessage: "发消息",
  groupName: "群名称",
  avatar: "头像",
  groupAvatar: "群头像",
  clickUpload: "点击上传",
  invite: "邀请",
  contactSelectedCount: "{count} 联系人已选",
  addMember: "添加群成员",
  kickMember: "移除群成员",
  addOrCreate: "添加/创建",
  recvApplication: "收到的请求",
  sentApplication: "发出的请求",
  notRequired: "允许任何人加群",
  allRequired: "需要发送验证消息",
  groupMemberApply: "群成员邀请",
  applyRequired: "群成员邀请无需验证",
  addGroupChat: "添加群聊",
  createGroupChat: "创建普通群",
  createWorkGroup: "创建工作群",
  userID: "用户ID",
  groupID: "群聊ID",
  personalInfomation: "个人信息",
  forwardMessage: "转发消息",
  mergeSingletitle: "和{name}间的聊天记录",
  mergeGrouptitle: "群聊{name}中的聊天记录",
  typing: "正在输入...",
  uploading: "上传中...",
  selectDate: "选择日期",
  no: "暂无",
  pieces: "[{number}条]",
  phoneOnline: "手机在线",
  scanQr: "扫一扫",
  launchGroup: "发起群聊",
  photograph: "拍照",
  recording: "录制",
  searchGroupID: "搜索群ID",
  source: "来源",
  selectAtMember: "选择@的人",
  find: "查找",
  friendSettings: "好友设置",
  setNickname: "设置备注",
  shareFriend: "把他推荐给朋友",
  unfriend: "解除好友关系",
  changeGroupName: "修改群聊名称",
  changeGroupNickname: "我在群里的昵称",
  someNewMessage: "{count}条新消息",
  forward: "合并转发",
  singleMerge: "和{name}的聊天记录",
  groupMerge: "群聊{name}中的聊天记录",
  atAll: "@所有人",
  someChatRecord: "{count}条相关聊天记录",
  myLocation: "我的位置",
  moreContacts: "查看更多相关联系人",
  moreGroup: "查看更多相关群组",
  moreChatRecord: "查看更多相关聊天记录",
  moreDocumnet: "查看更多相关文档",
  ownerAndAdminCanEdit: "只有群主及管理员可编辑",
  groupManage: "群管理",
  allMute: "全员禁言",
  notAllowLookMemberInfo: "不允许查看其他群成员资料",
  notAllowApplyMember: "不允许添加群成员为好友",
  groupAccess: "进群验证",
  groupTransfer: "群主管理权转让",
  groupSetting: "群聊设置",
  groupNickname: "我在本群的昵称",
  groupPin: "置顶群聊",
  allGroupMember: "查看全部群成员",
  notification: "系统通知",
  findingChatHistory: "快速查找聊天记录",
  noRelevantContent: "没有找到 “{keyword}” 相关内容",
  chatSetting: "聊天设置",
  chatPin: "置顶联系人",
  chatPrivate: "阅后即焚",
  chatPrivateTime: "时间设置",
  chatPrivateDesc: "定期删除消息记录",
  register: "用户注册",
  invitationCode: "邀请码",
  optional: "选填",
  setInfo: "设置信息",
  changePassword: "修改密码",
  oldPassword: "旧密码",
  newPassword: "新密码",
  selected: "已选择",
  offFlash: "关闭闪光灯",
  onFlash: "开启闪光灯",
  placeholder: {
    allMuted: "群主或管理员已开启全体禁言",
    groupDisbanded: "该群组已被解散",
    groupBanned: "该群组已被封禁",
    singleBanned: "你已被禁言",
    search: "搜索",
    pleaseInput: "请输入",
    inputNickname: "请输入昵称",
    inputInvitationCode: "请输入邀请码",
    inputVerificationCode: "请输入验证码",
    sec: "秒",
    groupNoticePlaceholder: "请输入群公告..",
    inputPassword: "请输入密码",
    confirmPassword: "请确认输入密码",
    inputPhoneNumber: "请输入手机号",
    select: "请选择",
    userOrGroupIDInput: "请输入{type}",
    writeMessage: "输入信息...",
    inputGroupName: "请输入群名称",
    typingMessage: "在这里输入消息",
    inputName: "请输入你的昵称",
    completeCreation: "完成创建",
  },
  buttons: {
    emoji: "Emoji",
    cancel: "取消",
    accept: "同意",
    reject: "拒绝",
    sure: "确认",
    confirm: "确认",
    clearHistoryMessage: "清除历史消息",
    disbandGroup: "解散群聊",
    quitGroup: "退出群聊",
    save: "保存",
    release: "发布",
    edit: "编辑",
    clear: "清除",
    unfriend: "解除好友",
    pending: "待处理",
    rejected: "已拒绝",
    approved: "已同意",
    verificationCode: "发送验证码",
    login: "登录",
    verificationCodeLogin: "验证码登录",
    passwordLogin: "密码登录",
    register: "注册",
    changes: "修改",
    enterApp: "进入Good Luck",
    next: "下一步",
    remove: "移除",
    sendVerification: "发送申请",
    pin: "置顶",
    cancelPin: "取消置顶",
    markAsRead: "标记已读",
    send: "发送",
    toDetail: "查看",
    holdSpeak: "按住说话",
    releaseSend: "松开发送",
    releaseCancel: "松开取消",
    nextStep: "下一步",
  },
  tooltip: {
    send: "发送",
    audioMessage: "语音消息",
    fileMessage: "文件消息",
    imageMessage: "图片消息",
    videoMessage: "视频消息",
    cardMessage: "名片消息",
    mute: "设置禁言",
    admin: "设置管理员",
  },
  popover: {
    groupAnnouncement: "群公告",
    chatRecord: "聊天记录",
    settings: "设置",
    memberPermissions: "群成员权限",
    transferGroup: "转让群主",
    groupMember: "群成员",
    kickConfirmTitle: "你确定要踢出该成员吗？",
    clearModalTitle: "清空聊天记录",
    clearModalContent: "删除后，将无法查看此会话的信息",
    clearChatHistory: "确认清空聊天记录吗？",
  },
  checks: {
    pin: "置顶",
    notDisturb: "消息免打扰",
    notAccept: "屏蔽消息",
    allBan: "全体禁言",
    addToBlack: "加入黑名单",
    burnRead: "阅后即焚",
  },
  messageMenu: {
    forward: "转发",
    copy: "复制",
    revoke: "撤回",
    multipalChoise: "多选",
    replay: "回复",
    delete: "删除",
  },
  contactMenu: {
    contacts: "联系人",
    frequentContacts: "常用联系人",
    newFriends: "新的好友",
    newGroup: "新的群聊",
    myGoodFriend: "我的好友",
    myGroup: "我的群组",
    applyGroup: "申请入群",
    myApply: "我的申请",
    chooseFriend: "按好友选",
    chooseGroup: "按群聊选",
    chooseCompany: "按架构选",
    recentSession: "最近会话",
    myCreate: "我创建的",
    myJoin: "我加入的",
  },
  profileMenu: {
    personalInformation: "我的信息",
    addressBookBlacklist: "黑名单",
    language: "语言",
    clearChatHistory: "清除聊天记录",
    accountSetting: "账号设置",
    aboutUs: "关于我们",
    logOut: "退出登录",
    uploadLog: "上传调试日志",
    blacklist: "通讯录黑名单",
    disturbMode: "勿扰模式",
    newMessageSound: "新消息提示音",
    disallowAddMe: "禁止添加我为好友",
  },
  messageDesc: {
    imageMessage: "[图片消息]",
    videoMessage: "[视频消息]",
    audioMessage: "[语音消息]",
    locationMessage: "[位置消息]",
    cardMessage: "[名片消息]",
    mergeMessage: "[合并消息]",
    FileMessage: "[文件消息]",
    customMessage: "[自定义消息]",
    quoteMessage: "[引用消息]",
    faceMessage: "[表情消息]",
    drftMessage: "[草稿]",
    atAll: "[所有人]",
    atYou: "[有人@你]",
    groupAnnouncement: "[群公告]",
    notSupMessage: "[暂不支持的消息类型]",
    notificationMessage: "[通知消息]",
    rtcMessage: "[语音消息]",
    meetingMessage: "[会议消息]",
    quoteRevokeMessage: "引用内容已被撤回",
  },
  messageDescription: {
    imageMessage: "[图片]",
    voiceMessage: "[语音]",
    fileMessage: "{file}",
    locationMessage: "[位置]{location}",
    videoMessage: "[视频]",
    cardMessage: "[名片]",
    faceMessage: "[表情]",
    rtcMessage: "[通话]",
    quoteMessage: "[引用消息]",
    mergeMessage: "[聊天记录]",
    customMessage: "[自定义消息]",
    notSupMessage: "[暂不支持的消息类型]",
    drftPrefix: "[草稿]",
    atAllPrefix: "[所有人]",
    atYouPrefix: "[有人@你]",
    groupAnnouncementPrefix: "[群公告]",
    somePerson: "等{num}人",
    revokeMessage: "{revoker}撤回了一条消息",
    advanceRevokeMessage: "{operator}撤回了一条{revoker}发送的消息",
    alreadyFriendMessage: "你们已经是好友了，开始聊天吧",
    createGroupMessage: "{creator}创建了群聊",
    updateGroupInfoMessage: "{operator}修改了群信息",
    updateGroupNameMessage: "{operator}修改了群名称为{name}",
    updateGroupAnnouncementMessage: "{operator}修改了群公告",
    transferGroupMessage: "{owner}转让了群主给{newOwner}",
    quitGroupMessage: "{name}退出了群聊",
    invitedToGroupMessage: "{operator}邀请了{invitedUser}加入群聊",
    kickInGroupMessage: "{operator}踢出了{kickedUser}",
    joinGroupMessage: "{name}加入了群聊",
    disbanedGroupMessage: "{operator}解散了群聊",
    allMuteMessage: "{operator}开启了全体禁言",
    cancelAllMuteMessage: "{operator}关闭了全体禁言",
    singleMuteMessage: "{name}被{operator}禁言了{muteTime}",
    cancelSingleMuteMessage: "{operator}取消了禁言{name}",
    burnReadStatus: "阅后即焚已{status}",
  },
  notificationTipMessage: {
    revokeMessage: "{revoker}撤回了一条消息",
    advanceRevokeMessage: "{operator}撤回了一条{revoker}发送的消息",
    alreadyFriendMessage: "你们已经是好友了，开始聊天吧",
    createGroupMessage: "{creator}创建了群聊",
    updateGroupInfoMessage: "{operator}修改了群信息",
    updateGroupAnnouncementMessage: "{operator}修改了群公告",
    transferGroupMessage: "{owner}转让了群主给{newOwner}",
    quitGroupMessage: "{name}退出了群聊",
    invitedToGroupMessage: "{operator}邀请了{invitedUser}加入群聊",
    kickInGroupMessage: "{operator}踢出了{kickedUser}",
    joinGroupMessage: "{name}加入了群聊",
    disbanedGroupMessage: "{operator}解散了群聊",
    allMuteMessage: "{operator}开启了全体禁言",
    cancelAllMuteMessage: "{operator}关闭了全体禁言",
    singleMuteMessage: "{name}被{operator}禁言了{muteTime}",
    cancelSingleMuteMessage: "{operator}取消了禁言{name}",
    burnReadStatus: "阅后即焚已{status}",
  },
  messageTip: {
    getOnlineFailed: "获取在线状态失败",
    getMemberFailed: "获取群成员失败",
    searchMessageFailed: "搜索消息失败",
    getUserInfoFailed: "获取用户信息失败",
    sendCodeFailed: "发送验证码失败",
    hasRegistered: "该账号已被注册",
    notRegistered: "账号未注册",
    passwordError: "密码错误",
    notSamePassword: "两次输入的密码不一致",
    getTokenFailed: "获取IM token失败",
    codeInvalidOrExpired: "验证码错误或已过期",
    registerFailed: "注册失败",
    loginFailed: "登录失败",
    verifyFailed: "验证失败",
    updateSelfInfoFailed: "修改个人信息失败",
    nomalSuccess: "操作成功",
    nomalFailed: "操作失败",
    copySuccess: "复制成功",
    copyFailed: "复制失败！",
    searchEmpty: "搜索结果为空",
    searchFailed: "搜索失败！",
    sendApplySuccess: "发送请求成功",
    sendApplyFailed: "发送请求失败",
    getConversationFailed: "获取会话信息失败",
    someMessageDeleteFailed: "部分消息删除失败！",
    inputEmpty: "内容不能为空",
    createSuccess: "创建成功！",
    uploadFailed: "上传失败！",
    scanGroupQrCodeTip: "扫一扫群二维码，立刻加入该群",
    scanQrCodeTip: "扫一扫下面的二维码，添加我为好友",
    loginExpiration: "当前登录已过期，请重新登录",
    loginKicked: "您的账号已在其他设备登录，请重新登录",
    sendCard: "确定要发送{name}的名片吗？",
    sendSuccess: "发送成功！",
    sendFailed: "发送失败！",
    inviteSuccess: "邀请成功！",
    inviteFailed: "邀请失败！",
    transferOwner: "确认将群主转给:{name}",
    kuckSuccess: "移除成功！",
    unknownContent: "未识别到有效内容",
    joinedGroup: "你已加入该群",
    unfriend: "确认解除好友关系？",
    changeSuccess: "修改成功！",
    changeFailed: "修改失败！",
    deleteSuccess: "删除成功！",
    environmentNotSupported: "获取权限失败或当前浏览器不支持",
    getLocation: "获取定位...",
    getLocationFailed: "获取定位失败",
    canceled: "已取消",
    recordingTooShort: "录制时间太短啦",
    generateImageFailed: "生成封面图失败！",
    failLoad: "加载失败",
    disbandGroup: "解散群聊后，所有群成员将失去和群友的联系。",
    quitGroup: "解散群聊后，所有群成员将失去和群友的联系。",
    correctPhoneNumber: "请输入正确的手机号",
    invitationCode: "请输入邀请码",
    correctPassword: "密码格式不正确",
    rePassword: "两次密码不一致",
    changePasswordSuccess: "修改密码成功！",
    tryLogout: "确定要退出登录吗？",
  },
  date: {
    seconds: "秒",
    minute: "分钟",
    minutes: "分钟",
    hour: "小时",
    hours: "小时",
    day: "天",
    days: "天",
    justNow: "刚刚",
    thisWeek: "本周",
    thisMonth: "本月",
    earlier: "更早",
  },
  footerAction: {
    album: "相册",
    shoot: "拍摄",
    videoCall: "视频通话",
    file: "文件",
    idCard: "名片",
    location: "位置",
  },
  language: {
    zhCN: "简体中文",
    enUS: "英文",
  },
  errCode: {
    passwordError: '密码错误',
    accountNotExist: '账号不存在',
    phoneNumberRegistered: '手机号已注册',
    accountRegistered: '账号已注册',
    operationTooFrequent: '操作过于频繁，请稍后再试',
    verificationCodeError: '验证码错误',
    verificationCodeExpired: '验证码已过期',
    verificationCodeErrorLimitExceed: '验证码错误次数超过限制，请稍后再试',
    verificationCodeUsed: '验证码已被使用',
    invitationCodeUsed: '邀请码已被使用',
    invitationCodeNotExist: '邀请码不存在',
    operationRestriction: '操作限制',
  },
  rtc: {
    voice: '语音通话',
    video: '视频通话',
    canceled: '已取消',
    refused: '已拒绝',
    timeout: '超时未接听',
    callDuration: '通话时长',
    handleByOtherDevice: '已在其他设备处理',
    joinFailed: '加入失败！',
    invitationFailed: '发起邀请失败！',
    micOpen: '麦克风已开',
    micClose: '麦克风已关',
    accept: '接听',
    hungup: '挂断',
    soundOpen: '扬声器已开',
    soundClose: '扬声器已关',
    connecting: '连接中',
    waitConnected: '等待接通',
    inConnect: '通话中',
    inviteYouVoice: '邀请你语音通话',
    inviteYouVideo: '邀请你视频通话',
    onCall: '正在呼叫中',
    joinCall: '加入通话',
    callRecord: '通话记录',
    allCall: '所有通话',
    missedCall: '未接通话',
    beCall: '呼入',
    callOut: '呼出',
  },
  vant: zhLocale,
};
